import { createContext, useContext } from 'react';

const INIT_SCALE = { scaleX: 1, scaleY: 1 };

const ScaleContext = createContext(INIT_SCALE);

const useScale = () => useContext(ScaleContext);

export { ScaleContext, useScale, INIT_SCALE };
